package com.mindskip.xzs.service;

import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.dto.admin.education.SubjectCreateDTO;
import com.mindskip.xzs.domain.dto.admin.education.SubjectPageDTO;
import com.mindskip.xzs.domain.entity.Subject;
import com.mindskip.xzs.domain.vo.admin.education.SubjectVO;

import java.util.List;

public interface SubjectService extends BaseService<Subject> {

    List<Subject> selectAll();

    PageInfo<SubjectVO> getSubjectByPage(SubjectPageDTO SubjectPageDTO);

    void insertOrUpdateSubject(SubjectCreateDTO subjectCreateDTO);

    // 软删除
    void softDelete(Integer id);

    List<com.mindskip.xzs.domain.vo.student.education.SubjectVO> getSubjectVOByLevel(Integer level);

}
